package com.gxlevi.adaptor;

public class ValAdaptor implements Val5V {
    Val220V v;

    public ValAdaptor(Val220V v) {
        this.v = v;
    }

    public void setV(Val220V v) {
        this.v = v;
    }

    @Override
    public int output5v() {
        int old = this.v.output220V();
        int newV = old / 44;
        return newV;
    }
}
